/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uit_vendor_management;

import java.awt.Button;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Insets;
import javax.swing.UIManager;
import javax.swing.border.Border;
import javax.swing.plaf.ColorUIResource;

/**
 *
 * @author QuangKhoi
 */
public class Global {
    public static final void getLF() {
        String laf = UIManager.getCrossPlatformLookAndFeelClassName();
        try {
            UIManager.setLookAndFeel(laf);
        }
        catch(Exception e) {
            
        }
        
        UIManager UI=new UIManager();
        UI.put("OptionPane.background",new ColorUIResource(255,255,255));
        UI.put("Panel.background", new ColorUIResource(255,255,255));
        UI.put("Button.border", null);
        
    }
}
